package fileUtils

import (
	"fmt"
	"path/filepath"
	"strings"
)

func GetCurrentPath(fileName string) string {
	path, _ := filepath.Abs(fileName)
	println(path)
	path = path[0:strings.LastIndex(path, "/")]
	return path
}

func GetAbsoluteFilePath(fileName string) string {
	path, _ := filepath.Abs(fileName)
	fmt.Println("AbsoluteFilePath: ", path)
	return path
}
